<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<isperp:grid url="app/portal/list" gridId="portalGrid"
	gridTitle="${pageTitle}" cusFormatterActions="true"
	cusEditUrl="app/portal/edit" cusDialogSize="normal"
	ondbClickRowEvent="portalGrid.edit(rowid);"
	cusDeleteUrl="app/portal/delete">
	<jsp:attribute name="toolbar">
	<isperp:toolbar id="portalToolbar">
		<isperp:button id="portalCreate" icon="icon-plus" text="新增门户部件"
				cssClass="nui-mainbtn" onclick="portalGrid.create();"></isperp:button>
	</isperp:toolbar>
	</jsp:attribute>
	<jsp:attribute name="searchbar">
	<table class="search-table">
		<tbody>
			<tr>
				<td class="td1">名称：</td>
				<td class="td2"><input type="text" field="title" op="cn">
				</td>
				<td class="td1">类型：</td>
				<td class="td2"><input type="text" field="contentType" op="cn">
				</td>
			</tr>
		</tbody>
	</table>
	
	</jsp:attribute>
	<jsp:body>
	<isperp:column name="id" title="id" hidden="true"></isperp:column>
	<isperp:column name="title" title="名称" width="100">
	</isperp:column>
	<isperp:column name="iconImg" title="图标" width="80"
		isFormatterFun="true" formatter="return '<img src=\"'+cellvalue+'\"></img>'">
	</isperp:column>
	<isperp:column name="height" title="高度" width="60">
	</isperp:column>
	<isperp:column name="orderNum" title="排序" width="60">
	</isperp:column>
	<isperp:column name="contentUrl" title="链接地址" width="400">
	</isperp:column>
	</jsp:body>
</isperp:grid>

